window.onload = function () {
    var vue = new Vue({
        el: "#app",
        data: {
            entity: {}
        },
        methods: {
            save:function () {
              axios.post("/seller/save",this.entity).then(function (value) {
                 if (value.data){
                     location.href="/shoplogin.html";
                 }else{
                     alert("注册失败，请联系客服人员")
                 }
              });
            }
        }
    })
}